<template>
    <el-pagination
        background 
        layout="prev, pager, next"
        :small = "smallStyle"
        :current-Page="currentPage" :total="totalPages"
        @current-change="jumpTo"
        :page-count="7" :page-size="1">
    </el-pagination>
</template>
<script>
export default {
    name: 'PageIndex',
    props: ['totalPages','currentPage','smallStyle','jumpTo'],
}
</script>